// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, postBodyRequest, getNoAuthRequest, exportPost } from '@/libs/axios';
import { excelExport } from '@/views/hardshipSupport/util';
// 获取单位账号数据
export const getUnitAccountDataPageAPI = params => postRequest('/administrator/epUnitPersonInfo/getByPage', params);
// 通过id获取
export const getUnitAccountDataByIdAPI = params => postRequest('/administrator/epUnitPersonInfo/getById', params);
// 批量通过id删除
export const delAllByIdsAPI = params => postRequest('/administrator/epUnitPersonInfo/delByIds', params);
// 编辑
export const updateAccountDataAPI = params => postRequest('/administrator/epUnitPersonInfo/update', params);
// 新增
export const addUnitAccountDataAPI = params => postRequest('/administrator/epUnitPersonInfo/add', params);
// 后台禁用用户
export const disableUnitAccountAPI = params => postRequest('/administrator/epUnitPersonInfo/disable', params);
// 启用
export const enableUnitAccountAPI = params => postRequest('/administrator/epUnitPersonInfo/enable', params);
// 导入
export const importUnitPersonInfoAPI = params => postRequest('/administrator/epUnitPersonInfo/importProvincePersonInfo', params);
export const exportUnitPersonInfoAPI = params => exportPost('/administrator/epUnitPersonInfo/export');
export const exportUnitPersonInfoByIdsAPI = params => exportPost('/administrator/epUnitPersonInfo/exportByIds',params);
export const resetPwdAPI = params => postRequest('/administrator/epUnitPersonInfo/updatePwdByIds',params);
